import 'dart:convert';

SettingEntity settingEntityFromJson(String str) =>
    SettingEntity.fromJson(json.decode(str));

String settingEntityToJson(SettingEntity data) => json.encode(data.toJson());

class SettingEntity {
  SettingEntity({
    this.title,
    this.detail,
    this.isArrows,
    this.isShow,
    this.isBottomLine,
  });

  String title;
  String detail;
  bool isArrows;
  bool isShow;
  bool isBottomLine;

  factory SettingEntity.fromJson(Map<String, dynamic> json) => SettingEntity(
        title: json["title"],
        detail: json["detail"],
        isArrows: json["isArrows"],
        isShow: json["isShow"],
        isBottomLine: json["isBottomLine"],
      );

  Map<String, dynamic> toJson() => {
        "title": title,
        "detail": detail,
        "isArrows": isArrows,
        "isShow": isShow,
        "isBottomLine": isBottomLine,
      };
}
